//////////////////////////////////////////////////////////////////////////////
//
// evcl - console - pre-compiled header
// precomp.h
//
// Copyright (C) 1996-2007 by Project Vogue.
// Written by Yoshifumi "VOGUE" INOUE. (yosi@msn.com)
//
// @(#)$Id: /proj/evcl3/console/precomp.h 12 2006-01-21 22:44:00 yosi $
//
#if !defined(INCLUDE_console_precomp_h)
#define INCLUDE_console_precomp_h

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// Requires at least Windows XP
#define _WIN32_WINNT    0x501

#define STRICT
#define INC_OLE2
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stddef.h> // ptrdiff_t

#include "../kernel/ke_config.h"
#include "../kernel/ke_debugger.h"

#include "../platform/win/ILispEngine.h"

#define foreach(mp_enum, mp_var, mp_arg) \
    for (mp_enum mp_var(mp_arg); ! (mp_var).AtEnd(); (mp_var).Next())

#define lengthof(mp_array) \
    ( sizeof(mp_array) / sizeof(*mp_array) )

#endif //!defined(INCLUDE_console_precomp_h)
